speech.htmlHTMLudog*5πùΔ§πùΔ§ÅÅı Monkeybread Realbasic plugin - Documentation - Speech

MBS Plugin Documentation

This is the documentation for the Realbasic Plugins from Monkeybreadsoftware.de. You find these plugins and the newest version of this document at http://www.monkeybreadsoftware.de/realbasic inside the plugins section.

This help was last updated on Freitag, 6. September 2002 and covers 2136 items: 126 classes, 2 controls and 583 global functions.

The list of the themes Global methods by category Global methods by name The list of the classes The list of the controls

class Speech

class, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: Does nothing.
Function: The Speech start class.
Notes: You can try Speech with some declares, but your app won't start if the Speech extension is not installed. This plugin won't stop, but simply will just tell you that the Speech is not available, so you can react in your application.

Available as Boolean

property, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> false.
Function: Is Speech available?

DefaultVoice as Voice

method, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns the default voice.

Speak(s as string) as Boolean

method, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> false.
Function: Speaks a text using the default settings.
Notes:
Returns directly to caller.
Returns true if speaking is working.

SpeechBusy as integer

method, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> -1.
Function: Returns how much SpeechChannels are currently in use of you application.

SpeechBusySystemWide as integer

method, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> -1.
Function: Returns how much SpeechChannels are currently in use on this Mac.

VersionMajor as integer

property, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> 0.
Function: The major Version number.
Example:
dim s as speech
s=new speech
version.text=hex(s.VersionMajor)+"."+hex(s.versionMinor\16)+"."+hex(s.versionMinor mod 16)

versionMinor as integer

property, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> 0.
Function: The minor Version number.
Example:
dim s as speech
s=new speech
version.text=hex(s.VersionMajor)+"."+hex(s.versionMinor\16)+"."+hex(s.versionMinor mod 16)

VersionRev as integer

property, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> 0.
Function: The revision Version number.

VersionStage as integer

property, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> 0.
Function: The Stage Version number.
Notes:
Some constants:
developStage&h20
alphaStage&h40
betaStage&h60
finalStage&h80

Voice(index as integer) as Voice

method, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> nil.
Function: Returns the voice with this number.
Notes: Index is from 1 to VoiceCount.

VoiceCount as integer

property, Speech Mo, 15. Jul 2002
Mac OS Classic: Works. Mac OS Carbon: Works. Windows: -> 0.
Function: How much voices are present?
Notes: If you add or remove voice files, please call this function as Speech can then recognice those changes.

Contact

Written 2002 by Christian Schmitz. Feel free to ask or report mistakes to realbasic@macsw.de.
Thanks.

This resource fork intentionally left blank ˇˇ